package com.fearless.crm.workbench.dao;

import com.fearless.crm.workbench.entity.Tran;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface TranDao {

    int saveTran(Tran tran);

    int getTotalTran();
    List<Tran> getTranList(Tran tran);

    Tran getTranByIdDao(String id);

    int changeTranStageDao(Tran tran);

    List<Map<String, Object>> getCharts();

    List<Tran> getTransactionList(String id);
}
